using System.Collections.Generic;
namespace eShop.Model
{
    public class Category
    {
        public int Id { get; set; }
        public string CategoryName { get; set; }
        public string CategoryTitle { get; set; }
        public string CategoryDescription { get; set; }
        public string CategoryImageUrl { get; set; }
        public string CategoryUrl { get; set; }
        public int DisplayOrder { get; set; }
        public bool IsActive { get; set; }
        public int SubCategoryCount { get; set; }
        public int ParentCategoryId { get; set; }
        public string CategoryBannerImageUrl { get; set; }

        public Category Parent { get; set; }
        public List<Category> SubCategories { get; set; }

        public Category()
        {
            SubCategories = new List<Category>();
        }
    }
}
